<ui:composition template="/resources/templates/page.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets">
    <f:metadata>
        <f:viewParam name="module" value="#{currentView.module}"/>
        <f:viewParam name="tab" value="#{currentView.tab}"/>
        <f:viewParam name="page" value="#{currentView.page}"/>
        <f:viewParam name="action" value="#{currentView.action}"/>
        <f:viewAction action="#{navigationController.loadModule}"/>
    </f:metadata>
    <ui:define name="page-name">
        <div>
            <h:outputText rendered="#{currentView.currentModule != null}"
                          value="#{currentView.currentModule.name}"/>
        </div>
    </ui:define>
    <ui:define name="page-menu">
        <div class="page-menu">
            <!--<ui:include src="/resources/includes/modulesMenu.xhtml"/>-->
        </div>
    </ui:define>
    <ui:define name="page-content">
        <!--<ui:include src="/modules/setting/#{currentView.currentPageCode}TableContent.xhtml"/>-->
    </ui:define>
    <ui:define name="page-footer">
    </ui:define>
</ui:composition>